package com.zxl.common.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 收货地址
 * </p>
 *
 * @author zxw
 * @since 2023-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_member_address")
public class SysMemberAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 删除状态
     */
    private Integer deleteStatus;

    /**
     * 会员id
     */
    private Integer memberId;

    /**
     * 收货人
     */
    private String receiverName;

    /**
     * 收货人手机号
     */
    private String receiverTel;

    /**
     * 收货人性别
     */
    private Integer receiverSex;

    /**
     * 省
     */
    private String receiverProvince;

    /**
     * 地级市
     */
    private String receiverCity;

    /**
     * 行政区
     */
    private String receiverRegion;

    /**
     * 小区
     */
    private String receiverCell;

    /**
     * 详细地址
     */
    private String receiverDetail;

    /**
     * 是否默认地址 1：为默认地址
     */
    private Integer defaultStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    private Date updateTime;


}
